<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no"/>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>Dashboard Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="dashboard.css" rel="stylesheet">
	
	<style>
	/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {

  padding-top: 120px;
}

                                                               
/*
 * Global add-ons
 */

.sub-header {

  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
  background-color: #FFA07A;
}

.navbar-fixed-bottom{
border: 0;
  background-color: #FFA07A;
}

/*
 * Sidebar 
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #FFA500;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #FFA500;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}



.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


	</style>
	
	

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

 <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <!-- The mobile navbar-toggle button can be safely removed since you do not need it in a non-responsive implementation -->
          <a class="navbar-brand" href="">迷你淘宝网</a>
        </div>
        <!-- Note that the .navbar-collapse and .collapse classes have been removed from the #navbar -->
        <div id="navbar">
          <ul class="nav navbar-nav">
           
            <li><a href="#about">首页</a></li>
        
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">用户信息<span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="#">安全设置</a></li>
				<li role="separator" class="divider"></li>
                <li><a href="#">个人资料</a></li>
				<li role="separator" class="divider"></li>
                <li><a href="#">账号绑定</a></li>
                
               
               
				
              </ul>
			  <li><a href="#contact">消息</a></li>
            </li>
          </ul>
          <form class="navbar-form navbar-right">
            <div class="form-group">
              <input type="text" class="form-control" placeholder="搜索">
            </div>
            <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
          </form>
          <ul class="nav navbar-nav navbar-right">
		
		  
		  <li><a href="#">
<%
	 Object user = session.getAttribute("user");
		  	if(user != null){
		  	out.print(user+"已登陆");
		  	}
%>
		  </a></li>
          
		 <li><a href="Zxdl.jsp">注销</a></li>
		  
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">
           
			
			<li class="active"><a href="#"><h3>全部功能</h3><span class="sr-only">(current)</span></a></li>
			
            
          </ul>
          <ul class="nav nav-sidebar">
		  <li><a href="">我的购物车</a></li>
		  <li><a href="">我的订单</a></li>
            <li><a href="">待付款</a></li>
            <li><a href="">代发货</a></li>
            <li><a href="">待收货</a></li>
            <li><a href="">待评价</a></li>
            <li><a href="">退款售后</a></li>
            <li><a href="">购物车</a></li>
            <li><a href="">评价管理</a></li>
			<li><a href="">退款维权</a></li>
          </ul>
          
          
        </div>
		
		
		
		
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
		<h1 class="page-header">今日推荐</h1>
	 
    <div id="myCarousel" class="carousel slide" data-ride="carousel">
      <!-- Indicators -->
      <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
      </ol>
      <div class="carousel-inner" role="listbox">
        <div class="item active">
          <img class="first-slide" src="3.jpg">
          <div class="container">
            <div class="carousel-caption">
              <h1>阿迪达斯男人的必备</h1>
              <p> 你的选择<code>更多款式</code> 走在时尚的前沿，一直在模仿，从未改变过。</p>
              <p><a href="#"><input type="button" name="button" value="更多款式" onclick="location.href='http://zp0608.gitee.io/first_shopping_cart/dl.html'"></a></p>
          </div>
        </div>
      </div>
        <div class="item">
          <img class="second-slide" src="4.jpg">
          <div class="container">
            <div class="carousel-caption">
              <h1>男人的选择</h1>
              <p>想要完美的身材来吸引异性，想要约炮更直接一些吗，来，请看男人的装扮</p>
              <p><a href="#"><input type="button" name="button" value="更多款式" onclick="location.href='http://zp0608.gitee.io/first_shopping_cart/dl.html'"></a></p>
            </div>
          </div>
        </div>
        <div class="item">
          <img class="third-slide" src="2.jpg">
          <div class="container">
            <div class="carousel-caption">
              <h1>男士运动裤</h1>
              <p>菲尔普斯专用山寨防水运动裤</p>
              <p><a href="#"><input type="button" name="button" value="更多款式" onclick="location.href='http://zp0608.gitee.io/first_shopping_cart/dl.html'"></a></p>
            </div>
          </div>
        </div>
      </div>
	<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
      </a>
      <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
      </a>
    </div>
 
	</div>
	
	
	
	

<hr/>

<p>商品</p>
<hr/>
<div class="row">
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<nav class="navbar navbar-default navbar-fixed-bottom">
      <div class="container navbar-right">
        
        
        <div id="navbar">
        <ul class="nav navbar-nav">
        <li><a href="#">关于购物网</a></li>
		<li><a href="#">联系客服</a></li>
        <li><a href="login.jsp">廉政举报</a></li>
		<li><a href="Zxdl.jsp">联系我们</a></li>
		<li><a href="Zxdl.jsp">法律声明及隐私权政策</a></li>
		<li><a href="Zxdl.jsp">知识产权</a></li>
          </ul>
        </div>
      </div>
    </nav>
</div>
</div>
</div>
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="../../assets/js/vendor/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
	
	
  </body>
</html>